package com.bsg.upm.http;

import java.io.Serializable;

public class RespJson implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int status;
	private Integer code;
	private String msg;
	private Object data;

	/**
	 * 获取status
	 *
	 * @return status status
	 */
	public int getStatus() {
		return status;
	}

	/**
	 * 设置status
	 *
	 * @param status
	 *            status
	 */
	public void setStatus(int status) {
		this.status = status;
	}

	/**
	 * 获取code
	 *
	 * @return code code
	 */
	public Integer getCode() {
		return code;
	}

	/**
	 * 设置code
	 *
	 * @param code
	 *            code
	 */
	public void setCode(Integer code) {
		this.code = code;
	}

	/**
	 * 获取msg
	 *
	 * @return msg msg
	 */
	public String getMsg() {
		return msg;
	}

	/**
	 * 设置msg
	 *
	 * @param msg
	 *            msg
	 */
	public void setMsg(String msg) {
		this.msg = msg;
	}

	/**
	 * 获取data
	 *
	 * @return data data
	 */
	public Object getData() {
		return data;
	}

	/**
	 * 设置data
	 *
	 * @param data
	 *            data
	 */
	public void setData(Object data) {
		this.data = data;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "RespJson [status=" + status + ", code=" + code + ", msg=" + msg + ", data=" + data + "]";
	}

}
